package org.example.commonapi.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 考试题目
 * @TableName exam_questions
 */
@TableName(value ="exam_questions")
@Data
public class ExamQuestions implements Serializable {
    /**
     * 考试题目id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 考试id
     */
    private Long examId;

    /**
     * 考试题目内容
     */
    private String content;

    /**
     * 答案
     */
    private String answer;

    /**
     * 题目类型
     */
    private Integer type;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}